package com.thoughtworks;

public class Movie implements Rental{
    public String movieName;
    public String directorName;
    public int yearOfRelease;
    public int movieRating;

    public Movie(String movieName, String directorName, int yearOfRelease, int movieRating)
    {
        this.movieName=movieName;
        this.directorName=directorName;
        this.yearOfRelease=yearOfRelease;
        this.movieRating=movieRating;
    }

    public String getName() {
        return movieName;
    }

}
